import fetch from "@/store/api/fetch";

export const oauth_token = (data: any) => fetch.post("/oauth/token", data)

export const refresh_token = (data: any) => fetch.post(`oauth/token`, data)

export const logout = () => fetch.post("/logout")